import Vue from "vue";
import api from '@/service/index'
export default function getColumns(){
    return new Promise((resolve,reject)=>{
        Vue.axios.get(api.column        
        ).then(res=>{
            resolve(res)
        }).catch(e=>{
            console.log(e)
            reject(e)
        })
    })
}